package 实践.class_04;

public class Demo_01 {
}
class Student {
    int id;
  String name;
  char sex;

    public void setId(int id, String name,char sex) {
        this.id = id;
        this.name = name;
        this.sex = sex;
    }

    public  void display() {
        System.out.println(id);
        System.out.println(name);
        System.out.println(sex);
    }
}

